package com.woniu.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 商品评价表(UsedProductComment)实体类
 *
 * @author makejava
 * @since 2020-03-23 09:48:24
 */
public class UsedProductComment implements Serializable {
    private static final long serialVersionUID = 523055369212936195L;
    /**
    * 评价Id
    */
    private Integer id;
    /**
    * 商品Id
    */
    private Integer productId;
    /**
    * 评价用户Id
    */
    private Integer userId;
    /**
    * 评价内容
    */
    private String comment;
    /**
    * 评价时间
    */
    private Date commentTime;
    /**
    * 评价星级
    */
    private Integer start;
    /**
    * 点赞数量
    */
    private Integer number;

    /**
     * 订单Id
     */
    private Integer orderId;

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Date getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(Date commentTime) {
        this.commentTime = commentTime;
    }

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "UsedProductComment{" +
                "id=" + id +
                ", productId=" + productId +
                ", userId=" + userId +
                ", comment='" + comment + '\'' +
                ", commentTime=" + commentTime +
                ", start=" + start +
                ", number=" + number +
                ", orderId=" + orderId +
                '}';
    }
}